<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<style type="text/css">
   #b1{
     border:2px solid;
     height:500px;
     width:500px;
     background-color: rgba(94,94,94,0.8);
     border-radius:15px;
}

input{
margin-bottom: 15px;
width: 40px;
height:28px;
font-size: 18px;
border: 1px;
border-radius: 15px; 

}
body{
 background: url("images/imas.jpg");
}

</style>
<body text="blue" style="text-align: center;padding-top:200px;padding-left: 34px; "bgcolor="green">
<body>
<center>
    <div id="b1">
         <h1>首页信息</h1>
         <form method="post" action="delete">
           <table>
               <tr>
                  <th>编号</th>
                  <th>用户</th>
                  <th>密码</th>
                  <th>年龄</th>
                  <th>地址</th>
                  <th>删除</th>
                  <th>修改</th>
               
               </tr>
               
               <c:forEach items="${list}" var="list">
                 <tr>
                 <!-- 隐藏的ID -->
                   <td>
                      <input type="hidden" id="uid" value="${list.id}" name="uid"/></input>
                      ${list.id}
                   </td>
                   <td>${list.username}</td>
                   <td>${list.password}</td>
                   <td>${list.age}</td>
                   <td>${list.address}</td>
                   <td><input type="submit" value="删除"></input></td>
                   <td><a href="update.html"><input type="button" value="修改"></input></a></td>
                 </tr>
               </c:forEach>
           </table>
         </form>
    </div>
</center>
</body>
</html>